/*************************************************************************
	> File Name: main.cc
	> Author: Joker
	> Mail: mahongtao@foxmail.com 
	> Created Time: 2020-09-22 14:09:23
 ************************************************************************/

#include "FlyWeight.h"

#include <iostream>
using namespace std;
 
void test0(){
    FlyWeightFactory flyWeightFactory;
    flyWeightFactory.GetFlyWeight("hello");
    flyWeightFactory.GetFlyWeight("world");
    flyWeightFactory.GetFlyWeight("hello");
}

int main(int argc,char *argv[])
{
    test0(); 
    return 0;
}
